package cz.muni.fi.pa165.languageschool.utils;

/**
 * Enumeration type for roles used within application
 *
 * @author Milos
 */
public enum Authority {

    ROLE_USER("ROLE_USER"),
    ROLE_ADMIN("ROLE_ADMIN");

    private String authority;

    Authority(String userRole) {
        this.authority = userRole;
    }

    public String getUserRole() {
        return authority;
    }
}
